package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.DoGood;
import java.util.List;

public interface DoGoodMapper {

    DoGood selectByOne(DoGood doGood);

    void insertByOne(DoGood doGood);

    void deleteByOne(DoGood doGood);

    int selectForCount(DoGood doGood);

    /**
     * 查询某条游记的点赞数
     * @param contentId
     * @return
     */
    int selectForTravelCount(Long contentId);
}